home *** CD-ROM | disk | FTP | other *** search
- Path: FreeNet.Carleton.CA!aq436
- From: aq436@FreeNet.Carleton.CA (Jerry Boyd)
- Newsgroups: comp.lang.c
- Subject: File Display Program
- Date: 19 Apr 1996 00:47:41 GMT
- Organization: The National Capital FreeNet
- Sender: aq436@freenet2.carleton.ca (Jerry Boyd)
- Message-ID: <4l6nrd$fr3@freenet-news.carleton.ca>
- Reply-To: aq436@FreeNet.Carleton.CA (Jerry Boyd)
- NNTP-Posting-Host: freenet2.carleton.ca
-
-
- How would I write a program that would display the contents of
- a file 20 lines at a time. At the end of each 20 lines, I need
- it to wait for a character to be entered (in the form of "q" to
- quit the display and any other character to continue with the
- next 20 lines of the file)?
-
-
-
- --
-
-